package com.jketing.repository;

import java.io.Serializable;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.NoRepositoryBean;

/**
 * BaseRepository Repository基类
 * 	功能：继承JpaRepository接口实现常用功能
 * 				继承JpaSpecificationExecutor接口实现条件和排序分页查询
 * 
 * @author  李荣华
 * @version v1.0
 * @date    2017-10-26
 * @since   Spring-data 1.11.4
 */
//基类不生成IOC实例
@NoRepositoryBean
public interface BaseRepository<T, ID extends Serializable> extends JpaRepository<T, ID>,
																	JpaSpecificationExecutor<T> {
	
}
